package win.timloong.android.a3;

import android.databinding.BaseObservable;

/**
 * Created by tim on 16/7/1.
 */

public class User extends BaseObservable {
    public  String firstName;
    public  String lastName;
    public User(String firstName, String lastName) {
        this.firstName = firstName;
        this.lastName = lastName;
    }

    public String getFirstName() {
        return firstName;
    }

    public String getLastName() {
        return lastName;
    }


    public void setFirstName(String firstName) {
        this.firstName = firstName;
        notifyPropertyChanged(BR.user);
    }

    public void setLastName(String lastName) {
        this.lastName = lastName;
        notifyPropertyChanged(BR.user);
    }
}
